import {_fetch} from "./request"

function getUserInfo() {
    return _fetch({
        url: '/info',
    })
}

function logout() {
    return _fetch({
        url: '/logout',
    })
}

export {getUserInfo,logout}